package com.ddwl.schema.bo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2021/1/11 11:30
 */
@Getter
@Setter
@ApiModel("五八马小程序商家端 商品分页bo")
public class MerchantShopItemPageBo {

    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id",required = true)
    private String shopId;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("商品编码")
    private String barcode;

    @NotNull(message = "商品状态不能为空")
    @ApiModelProperty("商品状态 0下架 1上架")
    private Integer itemStatus;

    /**
     * 是否推荐
     */
    @ApiModelProperty(value = "是否推荐 0否 1是",hidden = true)
    private Boolean recommend;

}
